import { Typography } from 'antd';

export function FormId(props: {
  value?: string;
  onClick?: (value: string) => void;
}) {
  return (
    <Typography.Link onClick={() => props.onClick?.(props.value || '')}>
      {props.value}
    </Typography.Link>
  );
}
